package com.morehair.service.wx;

import com.morehair.bean.bo.wx.WxAddGoodsToCartBo;
import com.morehair.bean.bo.wx.WxCheckedCartBo;
import com.morehair.bean.bo.wx.WxDeleteCartGoodsBo;
import com.morehair.bean.bo.wx.WxUpdateCartOfGoodsBo;
import com.morehair.bean.vo.wx.WxCartIndexVo;
import com.morehair.bean.vo.wx.WxCheckoutVo;

/**
 * @Description:
 * @Author raohui
 * @Date 2021/6/8 13:34
 */
public interface WxCartService {
    WxCartIndexVo indexCart();

    int addGoodsToCart(WxAddGoodsToCartBo wxAddGoodsToCartBo);

    WxCartIndexVo deleteCart(WxDeleteCartGoodsBo wxDeleteCartGoodsBo);

    int updateCart(WxUpdateCartOfGoodsBo wxUpdateCartOfGoodsBo);

    WxCartIndexVo checkedCart(WxCheckedCartBo wxCheckedCartBo);

    int getCartGoodsCount();

    Integer fastaddGoods(WxAddGoodsToCartBo wxAddGoodsToCartBo);

    WxCheckoutVo checkoutOrder(Integer cartId, Integer addressId, Integer couponId, Integer grouponRulesId);
}
